package models

import "gorm.io/gorm"

type RoomUser struct {
	gorm.Model
	RoomId     int `gorm:"type:int(20);not null;comment:'群Id'"`
	UserId     int `gorm:"type:int(20);not null;comment:'用户Id'"`
	RoomUserId int `gorm:"type:int(20);not null;comment:'用户在群里的Id'"`
	Type       int `gorm:"type:int(20);not null;comment:'类型: 1:群主 2:群管理 3:群成员'; binding: 3"`
}
